﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Event
{
	public class EventEntity : DataEntity
	{
		public int EventSN { get { return GetData2("n4EventSN", (int)0); } }
		public string EventStart { get { return GetData2("strEventStart", string.Empty); } }
		public string EventEnd { get { return GetData2("strEventEnd", string.Empty); } }
		public string PublicationDate { get { return GetData2("strPublicationDate", string.Empty); } }
		public string ImageUrl { get { return GetData2("strImageUrl", string.Empty); } }
		public string BigImageUrl { get { return GetData2("strBigImageUrl", string.Empty); } }
		public string Title { get { return GetData2("strTitle", string.Empty); } }
		public string Content { get { return GetData2("strContent", string.Empty); } }
		public bool isShow { get { return GetData2("isShow", true); } }
		public int TotalCommentCount { get { return GetData2("n4TotalCommentCount", (int)0); } }
		public int ParticipationCount { get { return GetData2("n4ParticipationCount", (int)0); } }
		public int UniqueUserCount { get { return GetData2("n4UniqueUserCount", (int)0); } }
		public DateTime CreateDate { get { return GetData2("dtCreateDate", DateTime.MinValue); } }
		public string strManagerName { get { return GetData2("strManagerName", string.Empty); } }

		public string BigImageUrl2 { get { return GetData2("strBigImageUrl2", string.Empty); } }
		public string BigImageUrl3 { get { return GetData2("strBigImageUrl3", string.Empty); } }
		public string BigImageUrl4 { get { return GetData2("strBigImageUrl4", string.Empty); } }
		public string BigImageUrl5 { get { return GetData2("strBigImageUrl5", string.Empty); } }
		public string BigImageUrl6 { get { return GetData2("strBigImageUrl6", string.Empty); } }
		public string BigImageUrl7 { get { return GetData2("strBigImageUrl7", string.Empty); } }
		public string BigImageUrl8 { get { return GetData2("strBigImageUrl8", string.Empty); } }
		public string BigImageUrl9 { get { return GetData2("strBigImageUrl9", string.Empty); } }
		public string BigImageUrl10 { get { return GetData2("strBigImageUrl10", string.Empty); } }
		public byte CodeContent { get { return GetData2("CodeContent", (byte)1); } }
	}
}